<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LTE-UNB: Simulation/Simulation.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LTE-UNB
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">Simulation/Simulation.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_simulation_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef _Simulation_h_</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define _Simulation_h_</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;itpp/itbase.h&gt;</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="preprocessor">#include &quot;<a class="code" href="_statistics_8h.html">Statistics.h</a>&quot;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;<a class="code" href="_radio_channel_8h.html">RadioChannel.h</a>&quot;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="_simulation_environment_8h.html">SimulationEnvironment.h</a>&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;<a class="code" href="_link_8h.html">Link.h</a>&quot;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &quot;<a class="code" href="_frequency_planning_8h.html">FrequencyPlanning.h</a>&quot;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;<a class="code" href="_scheduler_8h.html">Scheduler.h</a>&quot;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &quot;<a class="code" href="_transmission_8h.html">Transmission.h</a>&quot;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &quot;<a class="code" href="_results_8h.html">Results.h</a>&quot;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;<a class="code" href="_time_manager_8h.html">TimeManager.h</a>&quot;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &quot;<a class="code" href="_link_adaptation_8h.html">LinkAdaptation.h</a>&quot;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &quot;<a class="code" href="_grid_8h.html">Grid.h</a>&quot;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &quot;<a class="code" href="_mobility_8h.html">Mobility.h</a>&quot;</span>
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="keyword">using namespace </span>itpp;
<a name="l00038"></a>00038 <span class="keyword">using namespace </span>std;
<a name="l00039"></a>00039 
<a name="l00044"></a><a class="code" href="namespace_simulation.html">00044</a> <span class="keyword">namespace </span><a class="code" href="class_simulation_1_1_simulation.html">Simulation</a>
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046    
<a name="l00051"></a><a class="code" href="class_simulation_1_1_simulation.html">00051</a> <span class="keyword">class </span><a class="code" href="class_simulation_1_1_simulation.html">Simulation</a>
<a name="l00052"></a>00052 {
<a name="l00053"></a>00053    <span class="keyword">public</span>:
<a name="l00054"></a>00054    
<a name="l00058"></a>00058       <a class="code" href="class_simulation_1_1_simulation.html">Simulation</a>();
<a name="l00059"></a>00059 
<a name="l00064"></a>00064       <span class="keyword">virtual</span> ~<a class="code" href="class_simulation_1_1_simulation.html">Simulation</a>();
<a name="l00065"></a>00065       
<a name="l00070"></a>00070       <span class="keywordtype">void</span> setParameters();
<a name="l00071"></a>00071       
<a name="l00075"></a>00075       <span class="keywordtype">void</span> testChannel();
<a name="l00080"></a>00080       <span class="keywordtype">void</span> testLosses();
<a name="l00085"></a>00085       <span class="keywordtype">void</span> testPathLoss();
<a name="l00090"></a>00090       <span class="keywordtype">void</span> testLink();
<a name="l00094"></a>00094       <span class="keywordtype">void</span> testResults();
<a name="l00098"></a>00098       <span class="keywordtype">void</span> testFrequencyPlanning();
<a name="l00103"></a>00103       <span class="keywordtype">void</span> testFading();
<a name="l00104"></a>00104       
<a name="l00110"></a>00110       <span class="keywordtype">void</span> initialize();
<a name="l00111"></a>00111       
<a name="l00116"></a>00116       <span class="keywordtype">void</span> initializeDrop();
<a name="l00117"></a>00117       
<a name="l00121"></a>00121       <span class="keywordtype">void</span> runDrop();
<a name="l00122"></a>00122       
<a name="l00127"></a>00127       <span class="keywordtype">void</span> runSimulation();
<a name="l00128"></a>00128       
<a name="l00132"></a>00132       <span class="keywordtype">void</span> finalizeDrop();
<a name="l00133"></a>00133       
<a name="l00138"></a>00138       <span class="keywordtype">void</span> runCampaign();
<a name="l00139"></a>00139      
<a name="l00140"></a>00140       
<a name="l00141"></a>00141    <span class="keyword">protected</span>:
<a name="l00142"></a>00142       
<a name="l00147"></a><a class="code" href="class_simulation_1_1_simulation.html#a3edbedb7f07ccef4cca2aa95301b4f6a">00147</a>       <a class="code" href="class_grid_1_1_grid.html">Grid::Grid</a>* <a class="code" href="class_simulation_1_1_simulation.html#a3edbedb7f07ccef4cca2aa95301b4f6a">grid_</a>;
<a name="l00148"></a>00148       
<a name="l00153"></a><a class="code" href="class_simulation_1_1_simulation.html#ac52ab8b100260b3456d2211b019fabdc">00153</a>       <a class="code" href="class_mobility_1_1_mobility.html">Mobility::Mobility</a>* <a class="code" href="class_simulation_1_1_simulation.html#ac52ab8b100260b3456d2211b019fabdc">mobility_</a>;
<a name="l00154"></a>00154       
<a name="l00159"></a><a class="code" href="class_simulation_1_1_simulation.html#a7c084ccc305248f9b44eb3cd57147ccd">00159</a>       <a class="code" href="class_simulation_environment_1_1_simulation_environment.html">SimulationEnvironment::SimulationEnvironment</a>* <a class="code" href="class_simulation_1_1_simulation.html#a7c084ccc305248f9b44eb3cd57147ccd">simulationEnvironment_</a>;
<a name="l00160"></a>00160       
<a name="l00165"></a><a class="code" href="class_simulation_1_1_simulation.html#a3d318a28b80f5c0ead351741a497ca40">00165</a>       <a class="code" href="class_radio_channel_1_1_radio_channel.html">RadioChannel::RadioChannel</a>* <a class="code" href="class_simulation_1_1_simulation.html#a3d318a28b80f5c0ead351741a497ca40">radioChannel_</a>;
<a name="l00166"></a>00166       
<a name="l00171"></a><a class="code" href="class_simulation_1_1_simulation.html#a3f215be3b98611171f77b8521a14e104">00171</a>       <a class="code" href="class_link_1_1_link.html">Link::Link</a>* <a class="code" href="class_simulation_1_1_simulation.html#a3f215be3b98611171f77b8521a14e104">link_</a>;
<a name="l00172"></a>00172       
<a name="l00177"></a><a class="code" href="class_simulation_1_1_simulation.html#a6aba5f5b0b14d6eaad13369fa2ff5533">00177</a>       <a class="code" href="class_link_adaptation_1_1_link_adaptation.html">LinkAdaptation::LinkAdaptation</a>* <a class="code" href="class_simulation_1_1_simulation.html#a6aba5f5b0b14d6eaad13369fa2ff5533">linkAdaptation_</a>;
<a name="l00178"></a>00178       
<a name="l00183"></a><a class="code" href="class_simulation_1_1_simulation.html#a082e7aff820a4a39a14d09d409f25927">00183</a>       <a class="code" href="class_frequency_planning_1_1_frequency_planning.html">FrequencyPlanning::FrequencyPlanning</a>* <a class="code" href="class_simulation_1_1_simulation.html#a082e7aff820a4a39a14d09d409f25927">frequencyPlanning_</a>;
<a name="l00184"></a>00184       
<a name="l00189"></a><a class="code" href="class_simulation_1_1_simulation.html#a3783a59d99b08595f1646e3c7bbd4239">00189</a>       <a class="code" href="class_scheduler_1_1_scheduler.html">Scheduler::Scheduler</a>* <a class="code" href="class_simulation_1_1_simulation.html#a3783a59d99b08595f1646e3c7bbd4239">scheduler_</a>;
<a name="l00190"></a>00190       
<a name="l00195"></a><a class="code" href="class_simulation_1_1_simulation.html#af6c762a63288df326789f6ad97911c65">00195</a>       <a class="code" href="class_transmission_1_1_transmission.html">Transmission::Transmission</a>* <a class="code" href="class_simulation_1_1_simulation.html#af6c762a63288df326789f6ad97911c65">transmission_</a>;
<a name="l00196"></a>00196       
<a name="l00201"></a><a class="code" href="class_simulation_1_1_simulation.html#aefea01455e462a8be0c92c71fc4e25dc">00201</a>       <a class="code" href="class_results_1_1_results.html">Results::Results</a>* <a class="code" href="class_simulation_1_1_simulation.html#aefea01455e462a8be0c92c71fc4e25dc">results_</a>;
<a name="l00202"></a>00202       
<a name="l00207"></a><a class="code" href="class_simulation_1_1_simulation.html#a97a85a32f7a9280ccab7a5083fc1e79c">00207</a>       <a class="code" href="class_time_manager_1_1_time_manager.html">TimeManager::TimeManager</a>* <a class="code" href="class_simulation_1_1_simulation.html#a97a85a32f7a9280ccab7a5083fc1e79c">timeManager_</a>;
<a name="l00208"></a>00208       
<a name="l00213"></a><a class="code" href="class_simulation_1_1_simulation.html#a4f414166ae9ba32c44e15798edee3a7e">00213</a>       <span class="keywordtype">int</span> <a class="code" href="class_simulation_1_1_simulation.html#a4f414166ae9ba32c44e15798edee3a7e">simulationDrops_</a>;
<a name="l00214"></a>00214       
<a name="l00219"></a><a class="code" href="class_simulation_1_1_simulation.html#afd9c7d180aff739ce8a86e8fca07f71b">00219</a>       <span class="keywordtype">int</span> <a class="code" href="class_simulation_1_1_simulation.html#afd9c7d180aff739ce8a86e8fca07f71b">numberSimulations_</a>;
<a name="l00220"></a>00220       <span class="keywordtype">int</span> Direction_;
<a name="l00221"></a>00221    
<a name="l00222"></a>00222    
<a name="l00223"></a>00223    <span class="keyword">private</span>:
<a name="l00224"></a>00224 
<a name="l00225"></a>00225 
<a name="l00226"></a>00226 };
<a name="l00227"></a>00227 
<a name="l00228"></a>00228 };
<a name="l00229"></a>00229 
<a name="l00230"></a>00230 <span class="preprocessor">#endif</span>
<a name="l00231"></a>00231 <span class="preprocessor"></span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 25 2012 22:25:34 for LTE-UNB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
